#  +----------------------------------------------------------------------+
#  | Makefile                                                             |
#  +----------------------------------------------------------------------+
#  | Copyright (c) 2016. All Rights Reserved.                 			  |
#  +----------------------------------------------------------------------+
#  | Authors: zhihaibang                       				  			  |
#  +----------------------------------------------------------------------+

INC =  -I ./src/
SRC = ./src/*.cpp
CFLAG = -g -O3 -Wall -Wno-deprecated -std=c++0x #-DSHOW_DEBUG #-pipe  -D_NEW_LIC -D_GNU_SOURCE -D_REENTRANT  -z defs
CC = g++
EXE = ./bin/main

all:
	$(CC) -o $(EXE) $(CFLAG) $(SRC) $(INC)
clean: 
	rm -rf *.o
	rm -rf *.so
	rm -rf $(EXE)